package com.hfy.kandian.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hfy.kandian.dao.command.BaseCommand;
import com.hfy.kandian.dao.representation.TagRepresentation;
import com.hfy.kandian.entity.Tag;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HAN XIAOYANG
 * @since 2020-12-30
 */
public interface TagService extends IService<Tag> {

    int add(String tagName, String tagIntroduction);

    IPage<TagRepresentation> all(BaseCommand baseCommand);

}
